package cn.liontalk.DecoratorPattern.pattern2;

public abstract  class Decorator extends HerbalJelly  {

    private HerbalJelly herbalJelly;

    public Decorator(HerbalJelly herbalJelly) {
        this.herbalJelly = herbalJelly;
    }

    @Override
    public void process() {
        this.herbalJelly.process();
    }
}
